<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script>
			//比较运算符
			//等于
			console.log(1==1);
			//绝对等于,值和类型均相等
			console.log(1===1);
			//不等于
			console.log(1!=8);
			//不绝对等于
			console.log(1!==8);
			//大于
			console.log(1>2);
			//小于
			console.log(1<2);
			//大于等于
			console.log(1>=2)
			//小于等于
			console.log(1<=2);
			
			//逻辑运算符
			// && 
			console.log(1==1 && 2==2);
			//||
			console.log(1==2 || 1<=2);
			//!
			console.log(!(1>2));
			
		</script>
	</body>
</html>